package collection;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class StreamDemo3 {
    public static void main(String[] args) {
        List<List<String>> list = new ArrayList<>();
        list.add(Arrays.asList(new String[]{"one","two","three"}));
        list.add(Arrays.asList(new String[]{"four","five","six"}));
        System.out.println(list);
    }
}
